﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Experimental.Rendering.BuiltinRuntimeReflectionSystem
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;
using System.Runtime.CompilerServices;
using UnityEngine.Bindings;
using UnityEngine.Scripting;

#nullable disable
namespace UnityEngine.Experimental.Rendering
{
  [NativeHeader("Runtime/Camera/ReflectionProbes.h")]
  internal class BuiltinRuntimeReflectionSystem : IScriptableRuntimeReflectionSystem, IDisposable
  {
    public bool TickRealtimeProbes() => BuiltinRuntimeReflectionSystem.BuiltinUpdate();

    public void Dispose() => this.Dispose(true);

    private void Dispose(bool disposing)
    {
    }

    [StaticAccessor("GetReflectionProbes()", Type = StaticAccessorType.Dot)]
    [MethodImpl(MethodImplOptions.InternalCall)]
    private static extern bool BuiltinUpdate();

    [RequiredByNativeCode]
    private static BuiltinRuntimeReflectionSystem Internal_BuiltinRuntimeReflectionSystem_New()
    {
      return new BuiltinRuntimeReflectionSystem();
    }
  }
}
